package com.szqhyxj.youxiangju.biz.receipt.record;


import android.os.Parcel;
import android.os.Parcelable;

import com.google.gson.annotations.SerializedName;


public class OrderCashDetailVO implements Parcelable{

	@SerializedName("tradeAmt")
	private String tradeAmt;


	@SerializedName("tradeOrder")
	private String tradeOrder;

	@SerializedName("devNo")
	private String devNo;

	@SerializedName("arrivalAmt")
	private String arrivalAmt;

	@SerializedName("cardNo")
	private String cardNo;

	@SerializedName("addDate")
	private String addDate;

	@SerializedName("merchantRegion")
	private String merchantRegion;

	@SerializedName("depositCard")
	private String depositCard;

	@SerializedName("rate")
	private String rate;

	@SerializedName("merchantType")
	private String merchantType;

	@SerializedName("isSuccess")
	private String isSuccess;

	protected OrderCashDetailVO(Parcel in) {
		tradeAmt = in.readString();
		tradeOrder = in.readString();
		devNo = in.readString();
		arrivalAmt = in.readString();
		cardNo = in.readString();
		addDate = in.readString();
		merchantRegion = in.readString();
		depositCard = in.readString();
		rate = in.readString();
		merchantType = in.readString();
		isSuccess = in.readString();
		tradeMsg = in.readString();
	}

	public static final Creator<OrderCashDetailVO> CREATOR = new Creator<OrderCashDetailVO>() {
		@Override
		public OrderCashDetailVO createFromParcel(Parcel in) {
			return new OrderCashDetailVO(in);
		}

		@Override
		public OrderCashDetailVO[] newArray(int size) {
			return new OrderCashDetailVO[size];
		}
	};

	public String getTradeMsg() {
		return tradeMsg;
	}

	public void setTradeMsg(String tradeMsg) {
		this.tradeMsg = tradeMsg;
	}

	@SerializedName("tradeMsg")
	private String tradeMsg;




	public void setTradeAmt(String tradeAmt){
		this.tradeAmt = tradeAmt;
	}

	public String getTradeAmt(){
		return tradeAmt;
	}



	public void setTradeOrder(String tradeOrder){
		this.tradeOrder = tradeOrder;
	}

	public String getTradeOrder(){
		return tradeOrder;
	}

	public void setDevNo(String devNo){
		this.devNo = devNo;
	}

	public String getDevNo(){
		return devNo;
	}

	public void setArrivalAmt(String arrivalAmt){
		this.arrivalAmt = arrivalAmt;
	}

	public String getArrivalAmt(){
		return arrivalAmt;
	}

	public void setCardNo(String cardNo){
		this.cardNo = cardNo;
	}

	public String getCardNo(){
		return cardNo;
	}

	public void setAddDate(String addDate){
		this.addDate = addDate;
	}

	public String getAddDate(){
		return addDate;
	}

	public void setMerchantRegion(String merchantRegion){
		this.merchantRegion = merchantRegion;
	}

	public String getMerchantRegion(){
		return merchantRegion;
	}



	public void setDepositCard(String depositCard){
		this.depositCard = depositCard;
	}

	public String getDepositCard(){
		return depositCard;
	}

	public void setRate(String rate){
		this.rate = rate;
	}

	public String getRate(){
		return rate;
	}

	public void setMerchantType(String merchantType){
		this.merchantType = merchantType;
	}

	public String getMerchantType(){
		return merchantType;
	}

	public void setIsSuccess(String isSuccess){
		this.isSuccess = isSuccess;
	}

	public String getIsSuccess(){
		return isSuccess;
	}

	@Override
 	public String toString(){
		return 
			"OrderCashDetailVO{" + 
			"tradeAmt = '" + tradeAmt + '\'' +
			",tradeOrder = '" + tradeOrder + '\'' + 
			",devNo = '" + devNo + '\'' + 
			",arrivalAmt = '" + arrivalAmt + '\'' + 
			",cardNo = '" + cardNo + '\'' + 
			",addDate = '" + addDate + '\'' + 
			",merchantRegion = '" + merchantRegion + '\'' +
			",depositCard = '" + depositCard + '\'' + 
			",rate = '" + rate + '\'' + 
			",merchantType = '" + merchantType + '\'' + 
			",isSuccess = '" + isSuccess + '\'' + 
			"}";
		}


	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(tradeAmt);
		dest.writeString(tradeOrder);
		dest.writeString(devNo);
		dest.writeString(arrivalAmt);
		dest.writeString(cardNo);
		dest.writeString(addDate);
		dest.writeString(merchantRegion);
		dest.writeString(depositCard);
		dest.writeString(rate);
		dest.writeString(merchantType);
		dest.writeString(isSuccess);
		dest.writeString(tradeMsg);
	}
}